package com.rc.saas.mini.model.tenant;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TenantPaymentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TenantPaymentExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTenantPaymentIdIsNull() {
            addCriterion("tenant_payment_id is null");
            return (Criteria) this;
        }

        public Criteria andTenantPaymentIdIsNotNull() {
            addCriterion("tenant_payment_id is not null");
            return (Criteria) this;
        }

        public Criteria andTenantPaymentIdEqualTo(Long value) {
            addCriterion("tenant_payment_id =", value, "tenantPaymentId");
            return (Criteria) this;
        }

        public Criteria andTenantPaymentIdNotEqualTo(Long value) {
            addCriterion("tenant_payment_id <>", value, "tenantPaymentId");
            return (Criteria) this;
        }

        public Criteria andTenantPaymentIdGreaterThan(Long value) {
            addCriterion("tenant_payment_id >", value, "tenantPaymentId");
            return (Criteria) this;
        }

        public Criteria andTenantPaymentIdGreaterThanOrEqualTo(Long value) {
            addCriterion("tenant_payment_id >=", value, "tenantPaymentId");
            return (Criteria) this;
        }

        public Criteria andTenantPaymentIdLessThan(Long value) {
            addCriterion("tenant_payment_id <", value, "tenantPaymentId");
            return (Criteria) this;
        }

        public Criteria andTenantPaymentIdLessThanOrEqualTo(Long value) {
            addCriterion("tenant_payment_id <=", value, "tenantPaymentId");
            return (Criteria) this;
        }

        public Criteria andTenantPaymentIdIn(List<Long> values) {
            addCriterion("tenant_payment_id in", values, "tenantPaymentId");
            return (Criteria) this;
        }

        public Criteria andTenantPaymentIdNotIn(List<Long> values) {
            addCriterion("tenant_payment_id not in", values, "tenantPaymentId");
            return (Criteria) this;
        }

        public Criteria andTenantPaymentIdBetween(Long value1, Long value2) {
            addCriterion("tenant_payment_id between", value1, value2, "tenantPaymentId");
            return (Criteria) this;
        }

        public Criteria andTenantPaymentIdNotBetween(Long value1, Long value2) {
            addCriterion("tenant_payment_id not between", value1, value2, "tenantPaymentId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeIsNull() {
            addCriterion("payment_type is null");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeIsNotNull() {
            addCriterion("payment_type is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeEqualTo(String value) {
            addCriterion("payment_type =", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotEqualTo(String value) {
            addCriterion("payment_type <>", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeGreaterThan(String value) {
            addCriterion("payment_type >", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeGreaterThanOrEqualTo(String value) {
            addCriterion("payment_type >=", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLessThan(String value) {
            addCriterion("payment_type <", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLessThanOrEqualTo(String value) {
            addCriterion("payment_type <=", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLike(String value) {
            addCriterion("payment_type like", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotLike(String value) {
            addCriterion("payment_type not like", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeIn(List<String> values) {
            addCriterion("payment_type in", values, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotIn(List<String> values) {
            addCriterion("payment_type not in", values, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeBetween(String value1, String value2) {
            addCriterion("payment_type between", value1, value2, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotBetween(String value1, String value2) {
            addCriterion("payment_type not between", value1, value2, "paymentType");
            return (Criteria) this;
        }

        public Criteria andMchidIsNull() {
            addCriterion("mchid is null");
            return (Criteria) this;
        }

        public Criteria andMchidIsNotNull() {
            addCriterion("mchid is not null");
            return (Criteria) this;
        }

        public Criteria andMchidEqualTo(String value) {
            addCriterion("mchid =", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidNotEqualTo(String value) {
            addCriterion("mchid <>", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidGreaterThan(String value) {
            addCriterion("mchid >", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidGreaterThanOrEqualTo(String value) {
            addCriterion("mchid >=", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidLessThan(String value) {
            addCriterion("mchid <", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidLessThanOrEqualTo(String value) {
            addCriterion("mchid <=", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidLike(String value) {
            addCriterion("mchid like", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidNotLike(String value) {
            addCriterion("mchid not like", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidIn(List<String> values) {
            addCriterion("mchid in", values, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidNotIn(List<String> values) {
            addCriterion("mchid not in", values, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidBetween(String value1, String value2) {
            addCriterion("mchid between", value1, value2, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidNotBetween(String value1, String value2) {
            addCriterion("mchid not between", value1, value2, "mchid");
            return (Criteria) this;
        }

        public Criteria andAppidIsNull() {
            addCriterion("appid is null");
            return (Criteria) this;
        }

        public Criteria andAppidIsNotNull() {
            addCriterion("appid is not null");
            return (Criteria) this;
        }

        public Criteria andAppidEqualTo(String value) {
            addCriterion("appid =", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotEqualTo(String value) {
            addCriterion("appid <>", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidGreaterThan(String value) {
            addCriterion("appid >", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidGreaterThanOrEqualTo(String value) {
            addCriterion("appid >=", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidLessThan(String value) {
            addCriterion("appid <", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidLessThanOrEqualTo(String value) {
            addCriterion("appid <=", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidLike(String value) {
            addCriterion("appid like", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotLike(String value) {
            addCriterion("appid not like", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidIn(List<String> values) {
            addCriterion("appid in", values, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotIn(List<String> values) {
            addCriterion("appid not in", values, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidBetween(String value1, String value2) {
            addCriterion("appid between", value1, value2, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotBetween(String value1, String value2) {
            addCriterion("appid not between", value1, value2, "appid");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyIsNull() {
            addCriterion("private_key is null");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyIsNotNull() {
            addCriterion("private_key is not null");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyEqualTo(String value) {
            addCriterion("private_key =", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyNotEqualTo(String value) {
            addCriterion("private_key <>", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyGreaterThan(String value) {
            addCriterion("private_key >", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyGreaterThanOrEqualTo(String value) {
            addCriterion("private_key >=", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyLessThan(String value) {
            addCriterion("private_key <", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyLessThanOrEqualTo(String value) {
            addCriterion("private_key <=", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyLike(String value) {
            addCriterion("private_key like", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyNotLike(String value) {
            addCriterion("private_key not like", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyIn(List<String> values) {
            addCriterion("private_key in", values, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyNotIn(List<String> values) {
            addCriterion("private_key not in", values, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyBetween(String value1, String value2) {
            addCriterion("private_key between", value1, value2, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyNotBetween(String value1, String value2) {
            addCriterion("private_key not between", value1, value2, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPublicKeyIsNull() {
            addCriterion("public_key is null");
            return (Criteria) this;
        }

        public Criteria andPublicKeyIsNotNull() {
            addCriterion("public_key is not null");
            return (Criteria) this;
        }

        public Criteria andPublicKeyEqualTo(String value) {
            addCriterion("public_key =", value, "publicKey");
            return (Criteria) this;
        }

        public Criteria andPublicKeyNotEqualTo(String value) {
            addCriterion("public_key <>", value, "publicKey");
            return (Criteria) this;
        }

        public Criteria andPublicKeyGreaterThan(String value) {
            addCriterion("public_key >", value, "publicKey");
            return (Criteria) this;
        }

        public Criteria andPublicKeyGreaterThanOrEqualTo(String value) {
            addCriterion("public_key >=", value, "publicKey");
            return (Criteria) this;
        }

        public Criteria andPublicKeyLessThan(String value) {
            addCriterion("public_key <", value, "publicKey");
            return (Criteria) this;
        }

        public Criteria andPublicKeyLessThanOrEqualTo(String value) {
            addCriterion("public_key <=", value, "publicKey");
            return (Criteria) this;
        }

        public Criteria andPublicKeyLike(String value) {
            addCriterion("public_key like", value, "publicKey");
            return (Criteria) this;
        }

        public Criteria andPublicKeyNotLike(String value) {
            addCriterion("public_key not like", value, "publicKey");
            return (Criteria) this;
        }

        public Criteria andPublicKeyIn(List<String> values) {
            addCriterion("public_key in", values, "publicKey");
            return (Criteria) this;
        }

        public Criteria andPublicKeyNotIn(List<String> values) {
            addCriterion("public_key not in", values, "publicKey");
            return (Criteria) this;
        }

        public Criteria andPublicKeyBetween(String value1, String value2) {
            addCriterion("public_key between", value1, value2, "publicKey");
            return (Criteria) this;
        }

        public Criteria andPublicKeyNotBetween(String value1, String value2) {
            addCriterion("public_key not between", value1, value2, "publicKey");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyIsNull() {
            addCriterion("notify_public_key is null");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyIsNotNull() {
            addCriterion("notify_public_key is not null");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyEqualTo(String value) {
            addCriterion("notify_public_key =", value, "notifyPublicKey");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyNotEqualTo(String value) {
            addCriterion("notify_public_key <>", value, "notifyPublicKey");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyGreaterThan(String value) {
            addCriterion("notify_public_key >", value, "notifyPublicKey");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyGreaterThanOrEqualTo(String value) {
            addCriterion("notify_public_key >=", value, "notifyPublicKey");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyLessThan(String value) {
            addCriterion("notify_public_key <", value, "notifyPublicKey");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyLessThanOrEqualTo(String value) {
            addCriterion("notify_public_key <=", value, "notifyPublicKey");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyLike(String value) {
            addCriterion("notify_public_key like", value, "notifyPublicKey");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyNotLike(String value) {
            addCriterion("notify_public_key not like", value, "notifyPublicKey");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyIn(List<String> values) {
            addCriterion("notify_public_key in", values, "notifyPublicKey");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyNotIn(List<String> values) {
            addCriterion("notify_public_key not in", values, "notifyPublicKey");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyBetween(String value1, String value2) {
            addCriterion("notify_public_key between", value1, value2, "notifyPublicKey");
            return (Criteria) this;
        }

        public Criteria andNotifyPublicKeyNotBetween(String value1, String value2) {
            addCriterion("notify_public_key not between", value1, value2, "notifyPublicKey");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1IsNull() {
            addCriterion("notify_url1 is null");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1IsNotNull() {
            addCriterion("notify_url1 is not null");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1EqualTo(String value) {
            addCriterion("notify_url1 =", value, "notifyUrl1");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1NotEqualTo(String value) {
            addCriterion("notify_url1 <>", value, "notifyUrl1");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1GreaterThan(String value) {
            addCriterion("notify_url1 >", value, "notifyUrl1");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1GreaterThanOrEqualTo(String value) {
            addCriterion("notify_url1 >=", value, "notifyUrl1");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1LessThan(String value) {
            addCriterion("notify_url1 <", value, "notifyUrl1");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1LessThanOrEqualTo(String value) {
            addCriterion("notify_url1 <=", value, "notifyUrl1");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1Like(String value) {
            addCriterion("notify_url1 like", value, "notifyUrl1");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1NotLike(String value) {
            addCriterion("notify_url1 not like", value, "notifyUrl1");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1In(List<String> values) {
            addCriterion("notify_url1 in", values, "notifyUrl1");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1NotIn(List<String> values) {
            addCriterion("notify_url1 not in", values, "notifyUrl1");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1Between(String value1, String value2) {
            addCriterion("notify_url1 between", value1, value2, "notifyUrl1");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl1NotBetween(String value1, String value2) {
            addCriterion("notify_url1 not between", value1, value2, "notifyUrl1");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2IsNull() {
            addCriterion("notify_url2 is null");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2IsNotNull() {
            addCriterion("notify_url2 is not null");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2EqualTo(String value) {
            addCriterion("notify_url2 =", value, "notifyUrl2");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2NotEqualTo(String value) {
            addCriterion("notify_url2 <>", value, "notifyUrl2");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2GreaterThan(String value) {
            addCriterion("notify_url2 >", value, "notifyUrl2");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2GreaterThanOrEqualTo(String value) {
            addCriterion("notify_url2 >=", value, "notifyUrl2");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2LessThan(String value) {
            addCriterion("notify_url2 <", value, "notifyUrl2");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2LessThanOrEqualTo(String value) {
            addCriterion("notify_url2 <=", value, "notifyUrl2");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2Like(String value) {
            addCriterion("notify_url2 like", value, "notifyUrl2");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2NotLike(String value) {
            addCriterion("notify_url2 not like", value, "notifyUrl2");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2In(List<String> values) {
            addCriterion("notify_url2 in", values, "notifyUrl2");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2NotIn(List<String> values) {
            addCriterion("notify_url2 not in", values, "notifyUrl2");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2Between(String value1, String value2) {
            addCriterion("notify_url2 between", value1, value2, "notifyUrl2");
            return (Criteria) this;
        }

        public Criteria andNotifyUrl2NotBetween(String value1, String value2) {
            addCriterion("notify_url2 not between", value1, value2, "notifyUrl2");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniIsNull() {
            addCriterion("notify_url_mini is null");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniIsNotNull() {
            addCriterion("notify_url_mini is not null");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniEqualTo(String value) {
            addCriterion("notify_url_mini =", value, "notifyUrlMini");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniNotEqualTo(String value) {
            addCriterion("notify_url_mini <>", value, "notifyUrlMini");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniGreaterThan(String value) {
            addCriterion("notify_url_mini >", value, "notifyUrlMini");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniGreaterThanOrEqualTo(String value) {
            addCriterion("notify_url_mini >=", value, "notifyUrlMini");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniLessThan(String value) {
            addCriterion("notify_url_mini <", value, "notifyUrlMini");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniLessThanOrEqualTo(String value) {
            addCriterion("notify_url_mini <=", value, "notifyUrlMini");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniLike(String value) {
            addCriterion("notify_url_mini like", value, "notifyUrlMini");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniNotLike(String value) {
            addCriterion("notify_url_mini not like", value, "notifyUrlMini");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniIn(List<String> values) {
            addCriterion("notify_url_mini in", values, "notifyUrlMini");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniNotIn(List<String> values) {
            addCriterion("notify_url_mini not in", values, "notifyUrlMini");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniBetween(String value1, String value2) {
            addCriterion("notify_url_mini between", value1, value2, "notifyUrlMini");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlMiniNotBetween(String value1, String value2) {
            addCriterion("notify_url_mini not between", value1, value2, "notifyUrlMini");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelIsNull() {
            addCriterion("open_wxchannel is null");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelIsNotNull() {
            addCriterion("open_wxchannel is not null");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelEqualTo(String value) {
            addCriterion("open_wxchannel =", value, "openWxchannel");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelNotEqualTo(String value) {
            addCriterion("open_wxchannel <>", value, "openWxchannel");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelGreaterThan(String value) {
            addCriterion("open_wxchannel >", value, "openWxchannel");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelGreaterThanOrEqualTo(String value) {
            addCriterion("open_wxchannel >=", value, "openWxchannel");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelLessThan(String value) {
            addCriterion("open_wxchannel <", value, "openWxchannel");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelLessThanOrEqualTo(String value) {
            addCriterion("open_wxchannel <=", value, "openWxchannel");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelLike(String value) {
            addCriterion("open_wxchannel like", value, "openWxchannel");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelNotLike(String value) {
            addCriterion("open_wxchannel not like", value, "openWxchannel");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelIn(List<String> values) {
            addCriterion("open_wxchannel in", values, "openWxchannel");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelNotIn(List<String> values) {
            addCriterion("open_wxchannel not in", values, "openWxchannel");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelBetween(String value1, String value2) {
            addCriterion("open_wxchannel between", value1, value2, "openWxchannel");
            return (Criteria) this;
        }

        public Criteria andOpenWxchannelNotBetween(String value1, String value2) {
            addCriterion("open_wxchannel not between", value1, value2, "openWxchannel");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelIsNull() {
            addCriterion("open_appchannel is null");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelIsNotNull() {
            addCriterion("open_appchannel is not null");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelEqualTo(String value) {
            addCriterion("open_appchannel =", value, "openAppchannel");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelNotEqualTo(String value) {
            addCriterion("open_appchannel <>", value, "openAppchannel");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelGreaterThan(String value) {
            addCriterion("open_appchannel >", value, "openAppchannel");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelGreaterThanOrEqualTo(String value) {
            addCriterion("open_appchannel >=", value, "openAppchannel");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelLessThan(String value) {
            addCriterion("open_appchannel <", value, "openAppchannel");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelLessThanOrEqualTo(String value) {
            addCriterion("open_appchannel <=", value, "openAppchannel");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelLike(String value) {
            addCriterion("open_appchannel like", value, "openAppchannel");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelNotLike(String value) {
            addCriterion("open_appchannel not like", value, "openAppchannel");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelIn(List<String> values) {
            addCriterion("open_appchannel in", values, "openAppchannel");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelNotIn(List<String> values) {
            addCriterion("open_appchannel not in", values, "openAppchannel");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelBetween(String value1, String value2) {
            addCriterion("open_appchannel between", value1, value2, "openAppchannel");
            return (Criteria) this;
        }

        public Criteria andOpenAppchannelNotBetween(String value1, String value2) {
            addCriterion("open_appchannel not between", value1, value2, "openAppchannel");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelIsNull() {
            addCriterion("open_minichannel is null");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelIsNotNull() {
            addCriterion("open_minichannel is not null");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelEqualTo(String value) {
            addCriterion("open_minichannel =", value, "openMinichannel");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelNotEqualTo(String value) {
            addCriterion("open_minichannel <>", value, "openMinichannel");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelGreaterThan(String value) {
            addCriterion("open_minichannel >", value, "openMinichannel");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelGreaterThanOrEqualTo(String value) {
            addCriterion("open_minichannel >=", value, "openMinichannel");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelLessThan(String value) {
            addCriterion("open_minichannel <", value, "openMinichannel");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelLessThanOrEqualTo(String value) {
            addCriterion("open_minichannel <=", value, "openMinichannel");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelLike(String value) {
            addCriterion("open_minichannel like", value, "openMinichannel");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelNotLike(String value) {
            addCriterion("open_minichannel not like", value, "openMinichannel");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelIn(List<String> values) {
            addCriterion("open_minichannel in", values, "openMinichannel");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelNotIn(List<String> values) {
            addCriterion("open_minichannel not in", values, "openMinichannel");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelBetween(String value1, String value2) {
            addCriterion("open_minichannel between", value1, value2, "openMinichannel");
            return (Criteria) this;
        }

        public Criteria andOpenMinichannelNotBetween(String value1, String value2) {
            addCriterion("open_minichannel not between", value1, value2, "openMinichannel");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathIsNull() {
            addCriterion("wx_transfer_cert_path is null");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathIsNotNull() {
            addCriterion("wx_transfer_cert_path is not null");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathEqualTo(String value) {
            addCriterion("wx_transfer_cert_path =", value, "wxTransferCertPath");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathNotEqualTo(String value) {
            addCriterion("wx_transfer_cert_path <>", value, "wxTransferCertPath");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathGreaterThan(String value) {
            addCriterion("wx_transfer_cert_path >", value, "wxTransferCertPath");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathGreaterThanOrEqualTo(String value) {
            addCriterion("wx_transfer_cert_path >=", value, "wxTransferCertPath");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathLessThan(String value) {
            addCriterion("wx_transfer_cert_path <", value, "wxTransferCertPath");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathLessThanOrEqualTo(String value) {
            addCriterion("wx_transfer_cert_path <=", value, "wxTransferCertPath");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathLike(String value) {
            addCriterion("wx_transfer_cert_path like", value, "wxTransferCertPath");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathNotLike(String value) {
            addCriterion("wx_transfer_cert_path not like", value, "wxTransferCertPath");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathIn(List<String> values) {
            addCriterion("wx_transfer_cert_path in", values, "wxTransferCertPath");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathNotIn(List<String> values) {
            addCriterion("wx_transfer_cert_path not in", values, "wxTransferCertPath");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathBetween(String value1, String value2) {
            addCriterion("wx_transfer_cert_path between", value1, value2, "wxTransferCertPath");
            return (Criteria) this;
        }

        public Criteria andWxTransferCertPathNotBetween(String value1, String value2) {
            addCriterion("wx_transfer_cert_path not between", value1, value2, "wxTransferCertPath");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}